cmake_minimum_required(VERSION 3.0)
project(sdplog_test)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_FLAGS "-Wall -Wextra -std=c++11 --whole-file")
set(CMAKE_INCLUDE_CURRENT_DIR ON)
# set(CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE ON)

set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/lib)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/lib)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/bin)


# find_package(Boost REQUIRED COMPONENTS log log_setup program_options filesystem exception)
find_package(spdlog REQUIRED)
#target_link_libraries(YOUR_TARGET PahoMqttCpp::paho-mqttpp3-static)
# add_subdirectory(3rd-party)
# target_include_directories(${MODULE_NAME} PUBLIC eventbus log mqtt)
add_executable(sdplog_test spdlog_test.cpp)
target_link_libraries(sdplog_test PRIVATE pthread spdlog::spdlog_header_only)

